package com.chart.dao;


import com.chart.model.StudentEntity;

import java.util.List;

/**
 * 学生持久层接口
 */
public interface StudentDao {

     /**
      * 添加
      * @param student
      * @return
      */
     void add(StudentEntity student);

     /**
      * 查询
      * @return
      */
     List<StudentEntity> getAll();

     /**
      * 条件查询
      * @return
      */
     List<StudentEntity> getListByCondition(StudentEntity student,Integer startScore,Integer endScore,Integer startTotalScore,Integer endTotalScore);


     /**
      * 修改
      * @return
      */
     void updateStudent(StudentEntity student);

     /**
      * 删除
      * @return
      */
     void deleteStudent(StudentEntity student);


}

